package com.hue.entity;

import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Property;

/*
    猪节点的实体类
 */
@NodeEntity("pig")
public class Pig {
    @Property("name")
    private String name;

    @Property("age")
    private Integer age;
}
